package com.wzdigit.wms.wms.controller.board;

import com.wzdigit.framework.exception.RestStatusException;
import com.wzdigit.framework.model.response.ErrorEntity;
import com.wzdigit.wms.wms.constant.WmsWareConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Created by zyf on 2021/9/22 14:58
 */
@RestController
@Api(tags = "成品出库看板")
@RequestMapping(value = WmsWareConstant.API_VERSION)
public class GdnBoardController {

    private static final String REQUEST_MODEL = "/board";

    @ApiOperation(value = "出库看板测试",notes = "出库看板测试")
    @ApiResponses({ @ApiResponse(code = 500, message = "系统出现异常", response = ErrorEntity.class) })
    @GetMapping(value = REQUEST_MODEL + "/test")
    public String test(){
            return "{\n" +
                    "    \"time\": [1],\n" +
                    "    \"input\": [2],\n" +
                    "    \"output\": [3],\n" +
                    "    \"fpy\": [4]\n" +
                    "}";
    }

}
